cellarea: Don't shrink area too much
authorBenjamin Otte <otte@redhat.com>
Tue, 15 Jun 2021 17:34:37 +0000 (19:34 +0200)
committerBenjamin Otte <otte.benjamin@googlemail.com>
Tue, 15 Jun 2021 18:00:25 +0000 (18:00 +0000)
commit16ff055b42b71dc01aa48e45c551cd207f6f992b
tree1436d4c5c691d654e78cf5f6ce3326a920803de1
parenta3882763d8b0f9548da1e9dfaa1dff9473e617d0
cellarea: Don't shrink area too much

Do not compute rectangles with negative width/height. This avoids
assertion failures further down when those rectangles were actually
checked.

https://bugzilla.redhat.com/show_bug.cgi?id=1962215

(cherry picked from commit 4ba89f25b8a88616afc1915bdb4fb87d13efae6f)
gtk/gtkcellarea.c